import request from '@/utils/request'

// 查询商品列表
export function listOrder(query) {
  return request({
    url: '/order/list',
    method: 'get',
    params: query
  })
}
  // 查询商品详细
export function getOrderDetail(oid) {
    return request({
      url: '/order/detail/' + oid,
      method: 'get'
    })
  }

  export function getOrder(oid) {
    return request({
      url: '/order/' + oid,
      method: 'get'
    })
  }

  export function delOrder(oid) {
    return request({
      url: '/order/delete/' + oid,
      method: 'get'
    })
  }

